package com.qiuyang.mapper.show;

import com.qiuyang.pojo.Blog;
import com.qiuyang.pojo.Tag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface ShowTagMapper {
    List<Tag> findAllTag();

    List<Long> findBlogTags(String tagsId);
    Blog findBlogByBlogsId(@Param("blogsId") Long blogsId);
}
